<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
       
        .up {
            width: 100%;
            height: 100px;
            background: green;
            position: absolute;
            top: 0px;
        }

        .centre {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 100px;
            background: yellow;
        }

        .below {
            width: 100%;
            height: 100px;
            background: yellowgreen;
            position: absolute;
            bottom: 0px;
        }
    </style>
</head>

<body>
  
        <div class="up">

        </div>
        <div class="centre">

        </div>
        <div class="below">
            
        </div>
   

</body>

</html>